<?php


namespace app\src\redis;

/**
 *
 *
 * User: Implement hdjahs@qq.com
 * Date: 2020/12/1 3:16
 * 跳跃表
 */
class zskiplist
{
    public $header; // 表头节点和表尾节点

    public $tail;

    public $length; // 表中节点的数量

    public $level; // 表中层数最大的节点的层数

    public function __construct()
    {
        $this->header = new zskiplistNode();
        $this->tail = new zskiplistNode();
    }

}